package com.door.erp.sevice.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.door.erp.dao.MaterialDao;
import com.door.erp.dao.base.GenericDao;
import com.door.erp.model.Material;
import com.door.erp.sevice.MaterialService;
import com.door.erp.sevice.base.GenericServiceImpl;

@Service(value="materialService")
public class MaterialServiceImpl extends GenericServiceImpl<Material, Long> implements
		MaterialService {

	@Resource(name="materialDao", type=MaterialDao.class)
	private MaterialDao materialDao;
	
	@Override
	public GenericDao<Material, Long> getDao() {
		return materialDao;
	}

}
